package com.cbank.controller.wap;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping("/waphome")
public class WapHomeController {
	Logger logger = Logger.getLogger(WapHomeController.class);

	@RequestMapping(value = "/index", method = RequestMethod.GET)
	public String index() {
		logger.info("---------welcome--------index");
		return "/wap/index";
	}
	
	@RequestMapping(value = "/indexen", method = RequestMethod.GET)
	public String indexen() {
		logger.info("---------welcome--------index");
		return "/wap/english/index";
	}
	 
}  
